<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="/xinanshop/Public/qianduan/css/style.css" />
    <!--[if IE 6]>
    <script src="/xinanshop/Public/qianduan/js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
    <![endif]-->
    
    <script type="text/javascript" src="/xinanshop/Public/qianduan/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="/xinanshop/Public/qianduan/js/menu.js"></script>    
              
     
    
	<script type="text/javascript" src="/xinanshop/Public/qianduan/js/n_nav.js"></script>
    
    <!-- <link rel="stylesheet" type="text/css" href="/xinanshop/Public/qianduan/css/ShopShow.css" /> -->
    <link rel="stylesheet" type="text/css" href="/xinanshop/Public/qianduan/css/MagicZoom.css" />
    <script type="text/javascript" src="/xinanshop/Public/qianduan/js/MagicZoom.js"></script>
        

    
    <script type="text/javascript" src="/xinanshop/Public/qianduan/js/shade.js"></script>
    <script type="text/javascript" src="/xinanshop/Public/qianduan/js/jquery.js"></script>

    
<title>尤洪</title>
</head>
<body>  

<!--Begin Header Begin-->
<div class="soubg">
	<div class="sou">
    	<!--Begin 所在收货地区 Begin-->
    	
        <!--End 所在收货地区 End-->
        <span class="fr">
        	<span class="fl">
            <?php if($user_id > 0): ?>欢迎您，<span style="font-weight: bold;"><?php echo ($username); ?></span>
            <span style="color: red;cursor: pointer;"><a style="color: red;"  title="退出登录" href="<?php echo ($logout); ?>">退出</a>&nbsp;<a href="<?php echo ($myorder); ?>">我的订单</a>&nbsp;|</span></span>
            <?php else: ?>你好，请<a href="<?php echo ($loginform); ?>"><span style="color: red">登录</span></a> &nbsp; <a href="Regist.html" style="color:#ff4e00;">免费注册</a>&nbsp;|<?php endif; ?>
           
        	<span class="ss">
            	<div class="ss_list">
                	<a href="#">收藏夹</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">我的收藏夹</a></li>
                                <li><a href="#">我的收藏夹</a></li>
                            </ul>
                        </div>
                    </div>     
                </div>
                <div class="ss_list">
                	<a href="#">客户服务</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">客户服务</a></li>
                                <li><a href="#">客户服务</a></li>
                                
                            </ul>
                        </div>
                    </div>    
                </div>
                <div class="ss_list">
                	<a href="#">网站导航</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">网站导航</a></li>
                                <li><a href="#">网站导航</a></li>
                            </ul>
                        </div>
                    </div>    
                </div>
            </span>
            <span class="fl">|&nbsp;关注我们：</span>
            <span class="s_sh"><a href="#" class="sh1">新浪</a><a href="#" class="sh2">微信</a></span>
            <span class="fr">|&nbsp;<a href="#">手机版&nbsp;<img src="/xinanshop/Public/qianduan/images/s_tel.png" align="absmiddle" /></a></span>
        </span>
    </div>
</div>
<!--**************************************************************-->
<div class="top">
    <div class="logo"><a href="Index.html"><img width="207px" src="/xinanshop/Public/qianduan/images/logo.png" /></a></div>
    <div class="search">
      <form>
          <input type="text" value="" class="s_ipt" />
            <input type="submit" value="搜索" class="s_btn" />
        </form>                      
        <span class="fl"><a href="#">咖啡</a><a href="#">iphone 6S</a><a href="#">新鲜美食</a><a href="#">蛋糕</a><a href="#">日用品</a><a href="#">连衣裙</a></span>
    </div>
    <div class="i_car">
      <div class="car_t"><a href="<?php echo ($buycar); ?>">我的购物车</a></div>
        
    </div>
</div>
<!--End Header End--> 
<!--Begin Menu Begin-->
<div class="menu_bg">
  <div class="menu">
      <!--Begin 商品分类详情 Begin-->    
      <div class="nav">
          <div class="nav_t">全部商品分类</div>
            <div class="leftNav none">
                <ul>      
            <!--*************二级表单开始****************-->
                 <?php if(is_array($top_banner_left)): foreach($top_banner_left as $key=>$vo): ?><li>
                        <div class="fj">
                            <span class="n_img"><span></span><img src="/xinanshop/Public/qianduan/images/i_tel.png" /></span>
                         <span class="fl"><?php echo ($vo['catename']); ?></span>
                        </div>
                        <div class="zj">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                <h2>555555</a></h2>
                                    <?php if(is_array($vo['child'])): foreach($vo['child'] as $key=>$vo): ?><a href="<?php echo ($productlist); ?>?cateid=<?php echo ($vo['id']); ?>"><?php echo ($vo['catename']); ?></a>|<?php endforeach; endif; ?>
                                </div>
                            </div>
                            <div class="zj_r">
                            <a href="#"><img src="/xinanshop/Public/qianduan/images/n_img1.jpg" width="236" height="200" /></a>
                            <a href="#"><img src="/xinanshop/Public/qianduan/images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li><?php endforeach; endif; ?> 
            <!--*************二级表单结束****************-->
                      
                </ul>            
            </div>
        </div>  
        <!--End 商品分类详情 End-->                                                     
      <!-- <ul class="menu_r">
          <li><a href="Index.html">首页</a></li>
            <li><a href="Food.html">美食</a></li>
            <li><a href="Fresh.html">生鲜</a></li>
            <li><a href="HomeDecoration.html">家居</a></li>
            <li><a href="SuitDress.html">女装</a></li>
            <li><a href="MakeUp.html">美妆</a></li>
            <li><a href="Digital.html">数码</a></li>
            <li><a href="GroupBuying.html">团购</a></li>
        </ul> -->
        <div class="m_ad">中秋送好礼！</div>
    </div>
</div>
<!--**************************************************************-->
<!--End Header End--> 
<div class="i_bg bg_color" >
    <!--Begin 用户中心 Begin -->
    <div class="m_content" style="margin-top: -5px">
        <div class="m_left">
            <div class="left_n" style="background-color: #fff;color: #FF3200;font-size: 18px">管理中心</div>
            <div class="left_m">
                <div class="left_m_t t_bg1">订单中心</div>
                <ul>
                    <li><a href="<?php echo ($myorder); ?>" class="now">我的订单</a></li>
                    <li><a href="<?php echo ($address); ?>">收货地址</a></li>
                    <!-- <li><a href="#">缺货登记</a></li>
                    <li><a href="#">跟踪订单</a></li> -->
                </ul>
            </div>
            <div class="left_m">
                <div class="left_m_t t_bg2">会员中心</div>
                <ul>
                    <li><a href="<?php echo ($usermessage); ?>">用户信息</a></li>
                    <li><a href="<?php echo ($editpassword); ?>">修改密码</a></li>
                    <!-- <li><a href="Member_Msg.html">我的留言</a></li>
                    <li><a href="Member_Links.html">推广链接</a></li>
                    <li><a href="#">我的评论</a></li> -->
                </ul>
            </div>
            <div class="left_m">
                <div class="left_m_t t_bg3">账户中心</div>
                <ul>
                    <li><a href="#">账户安全</a></li>
                    <!-- <li><a href="Member_Packet.html">我的红包</a></li> -->
                    <li><a href="#">资金管理</a></li>
                </ul>
            </div>
            
        </div>


		<div class="m_right">
            <p></p>
            <div class="mem_tit">收货地址</div>
    <?php if(is_array($message)): foreach($message as $key=>$vo): ?><div class="address">
            	<div class="a_close"><a  href="<?php echo ($deladdress); ?>?deladdressid=<?php echo ($vo['id']); ?>" onclick="return del();" style="cursor: pointer;" title="删除该收货地址"><img src="/xinanshop/Public/qianduan/images/a_close.png" /></a></div>
            	<table border="0" class="add_t" align="center" style="width:98%; margin:10px auto;" cellspacing="0" cellpadding="0">
                  
                  <tr>
                    <td width="80">收货人姓名：</td>
                    <td><?php echo ($vo['buyusername']); ?></td>
                  </tr>
                 
                  <tr>
                    <td >详细地址：</td>
                    <td><?php echo ($vo['province']); ?>，<?php echo ($vo['city']); ?>，<?php echo ($vo['area']); ?>，<?php echo ($vo['detailsaddress']); ?></td>
                  </tr>
                  <tr>
                    <td >邮编：</td>
                    <td><?php echo ($vo['code']); ?></td>
                  </tr>
                  <tr>
                    <td >手机：</td>
                    <td><?php echo ($vo['phone']); ?></td>
                  </tr>
                  <tr>
                    <td >电话：</td>
                    <td><?php echo ($vo['telphone']); ?></td>
                  </tr>
                </table>
				
                <p align="right">
                	<a href="#" style="color:#ff4e00;">设为默认</a>&nbsp; &nbsp; &nbsp; &nbsp; <a href="#" style="color:#ff4e00;">编辑</a>&nbsp; &nbsp; &nbsp; &nbsp; 
                </p>

        </div><?php endforeach; endif; ?>

            <div class="mem_tit">
            	<a href="#"><img src="/xinanshop/Public/qianduan/images/add_ad.gif" /></a>
            </div>
  <!--*****************************保存收货地址开始***************************************-->
          <form method="post" action="<?php echo ($action); ?>">
             <table class="add_tab" style="width: 99%;font-size: 14px">
              <tr>
               <td class="label_name">收货地址</td>
               <td colspan="3" class="select"> 
               <span class="select_adderss"><label> 省份 </label><select class="kitjs-form-suggestselect changeAct" id="level1" level="1" name="province">
                <option value="0">请选择</option>
                 <?php if(is_array($states)): $i = 0; $__LIST__ = $states;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$state): $mod = ($i % 2 );++$i;?><option value="<?php echo ($state["id"]); ?>"><?php echo ($state["name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
               </select></span>
               <span class="select_adderss"><label> 市/县 </label><select class="kitjs-form-suggestselect changeAct" id="level2" level="2" name="city">
                <option value="0">请选择</option>
                 <?php if(is_array($areas)): $i = 0; $__LIST__ = $areas;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$area): $mod = ($i % 2 );++$i;?><option value="<?php echo ($area["id"]); ?>"><?php echo ($area["name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
               </select></span>
               <span class="select_adderss"><label> 区/县 </label><select class="kitjs-form-suggestselect" id="level3" level="3" name="area">
                <option value="0">请选择</option>
                 <?php if(is_array($locals)): $i = 0; $__LIST__ = $locals;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$local): $mod = ($i % 2 );++$i;?><option value="<?php echo ($local["id"]); ?>"><?php echo ($local["name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
               </select></span>
               <tr>
                 <td>详细地址</td><td colspan="3"><textarea cols="100" rows="2" name="detailsaddress"></textarea></td>
               </tr>
               
               </td>
               </tr>
              <tr >
              <td class="label_name">收件人姓名</td><td><input name="buyusername" type="text"  class="Add-text"/><i>（必填）</i></td><td class="label_name">性&nbsp;&nbsp;别</td><td> 
                <label class="sex"> <input type="radio" name="gender" value="1" id="RadioGroup1_0"  class="select"/><span>男</span></label>
                <label class="sex"><input type="radio" name="gender" value="2" id="RadioGroup1_1" class="select"/><span>女</span></label><i>（选填）</i> </td>
              
              </tr>
              <tr>
              <td class="label_name">邮&nbsp;&nbsp;编</td><td><input name="code" type="text"  class="Add-text"/><i>（必填）</i></td><td class="label_name">电子邮箱</td><td><input name="email" type="text"  class="Add-text"/><i>（选填）</i></td>
              
              </tr>
              <tr><td class="label_name">手&nbsp;&nbsp;机</td><td><input name="phone" type="text"  class="Add-text"/><i>（必填）</i></td>
              <td class="label_name">固定电话</td><td><input name="telphone" type="text"  class="Add-text"/><i>（选填）</i></td></tr>
              
                         
             </table>
             <div class="address_Note"><span style="color: red">&nbsp; &nbsp; 注：只能添加5个收货地址信息。请勿用假名填写地址，如造成损失由收货人自己承担。</span></div>
             <!-- <div class="btn"><input name="1" type="submit" value="添加地址" class="Add_btn" /></div> -->&nbsp; &nbsp;<button style="margin:0;padding:0;height: 30px;width: 100px">修改并保存</button>
                   </form>
           	<!-- <p align="right">
            	<a href="#">删除</a>&nbsp; &nbsp; <a href="#" class="add_b">确认修改</a>
            </p> --> 
       <!--*****************************保存收货地址结束***************************************-->
        <script type="text/javascript">
         $(".changeAct").on('change',function(){
            var level = $(this).attr('level');
            $.ajax({
                type:'post',
                data:'pid='+$(this).val(),
                url:'<?php echo ($region); ?>',
                dataType:'json',
                success:function(data){
                    if(data.status=="OK"){
                        var html = '<option value="0">请选择</option>';
                        for (var i = 0; i < data.area.length; i++) {
                            html=html+'<option value="'+data.area[i].id+'">'+data.area[i].name+'</option>';
                        }
                        $level = parseInt(level)+1;
                        $('#level'+$level).html(html);
                    }
                }
            });
         });
       </script>
            <!--删除按钮事件-->
       <script type="text/javascript">//删除事件
                function del(){
                    if(confirm('确定要删除吗？')){
                        return true;
                    }else{
                        return false;
                    }
                }
      </script>

            
            
        </div>
    <!-- </div> -->
	<!--End 用户中心 End--> 



    </div>
    </div>
        
    
    
    <!--Begin Footer Begin -->
    <div class="b_btm_bg bg_color">
        <div class="b_btm">
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/xinanshop/Public/qianduan/images/b1.png" width="62" height="62" /></td>
                <td><h2>正品保障</h2>正品行货  放心购买</td>
              </tr>
            </table>
			<table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/xinanshop/Public/qianduan/images/b2.png" width="62" height="62" /></td>
                <td><h2>满38包邮</h2>满38包邮 免运费</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/xinanshop/Public/qianduan/images/b3.png" width="62" height="62" /></td>
                <td><h2>天天低价</h2>天天低价 畅选无忧</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/xinanshop/Public/qianduan/images/b4.png" width="62" height="62" /></td>
                <td><h2>准时送达</h2>收货时间由你做主</td>
              </tr>
            </table>
        </div>
    </div>
    <div class="b_nav">
    	<dl>                                                                                            
        	<dt><a href="#">新手上路</a></dt>
            <dd><a href="#">售后流程</a></dd>
            <dd><a href="#">购物流程</a></dd>
            <dd><a href="#">订购方式</a></dd>
            <dd><a href="#">隐私声明</a></dd>
            <dd><a href="#">推荐分享说明</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">配送与支付</a></dt>
            <dd><a href="#">货到付款区域</a></dd>
            <dd><a href="#">配送支付查询</a></dd>
            <dd><a href="#">支付方式说明</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">会员中心</a></dt>
            <dd><a href="#">资金管理</a></dd>
            <dd><a href="#">我的收藏</a></dd>
            <dd><a href="#">我的订单</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">服务保证</a></dt>
            <dd><a href="#">退换货原则</a></dd>
            <dd><a href="#">售后服务保证</a></dd>
            <dd><a href="#">产品质量保证</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">联系我们</a></dt>
            <dd><a href="#">网站故障报告</a></dd>
            <dd><a href="#">购物咨询</a></dd>
            <dd><a href="#">投诉与建议</a></dd>
        </dl>
        <div class="b_tel_bg">
        	<a href="#" class="b_sh1">新浪微博</a>            
        	<a href="#" class="b_sh2">腾讯微博</a>
            <p>
            服务热线：<br />
            <span>400-123-4567</span>
            </p>
        </div>
        <div class="b_er">
            <div class="b_er_c"><img src="/xinanshop/Public/qianduan/images/er.gif" width="118" height="118" /></div>
            <img src="/xinanshop/Public/qianduan/images/ss.png" />
        </div>
    </div>    
    <div class="btmbg">
		<div class="btm">
        	备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com   Copyright © 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group <br />
            <img src="/xinanshop/Public/qianduan/images/b_1.gif" width="98" height="33" /><img src="/xinanshop/Public/qianduan/images/b_2.gif" width="98" height="33" /><img src="/xinanshop/Public/qianduan/images/b_3.gif" width="98" height="33" /><img src="/xinanshop/Public/qianduan/images/b_4.gif" width="98" height="33" /><img src="/xinanshop/Public/qianduan/images/b_5.gif" width="98" height="33" /><img src="/xinanshop/Public/qianduan/images/b_6.gif" width="98" height="33" />
        </div>    	
    </div>
    <!--End Footer End -->    
</div>

</body>

<!-- <script src="/xinanshop/Public/qianduan/js/ShopShow.js"></script> -->

<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>